<script>
	export default {
		onLaunch: function() {
			console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！')
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 引入字体图标 */
	@import '@/static/iconfont/iconfont.css';
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';

	// 设置整个项目的背景色
	page {
		// color: #409EFF; // 主题色
		background-color: #f3f5f7;
		color: #525252;
		font-size: 0.8rem;
		// UI 组件公共样式
		.text-btn {
			margin: 0 0 0 0.4rem;
			color: #007aff;;
		}
		.page-label {
			padding: 0 0 0 0.6rem;
			position: relative;
			color: #706e6e;
			&::before {
				position: absolute;
				top: 0.2rem;
				left: 0;
				display: block;
				content: '';
				width: 0.2rem;
				height: 60%;
				background: #007aff;
				border-radius: 0.1rem;
			}
		}
		.form-nav {
			background: #fff;
		}
		.uni-form-item {
			margin: 1rem 0 1rem;
		}
		.uni-label {
			margin-right: 0.6rem;
			font-size: 0.8rem;
			line-height: 0.8rem;
			color: #706e6e;
		}
		.uni-input-text {
			padding: 0.12rem 0.15rem;
			width: 12.5rem;
			color: #706e6e;
			border-bottom: 1px solid rgba(0, 0, 0, 0);
		}
		.uni-input {
			padding: 0.12rem 0.15rem;
			width: 12.5rem;
			font-size: 0.8rem;
			border-bottom: 1px solid #ddd6d6;
			// input {
			// 	border-bottom: 1px solid #ada9a9;
			// }
			// input:focus {
			// 	border-bottom: 1px solid #007aff;
			// }
		}
		.uni-input + .uni-input {
			margin: 0.5rem 0 0.5rem;
		}
		.bass-btn {
			background: #409EFF;
			color: #fff;
		}
	}

	.tab-bar-page {
		&::after {
			display: block;
			content: '';
			height: 3rem;
		}
	}

	.page-base {
		padding: 0.5rem;
	}

	.page-nav {
		padding: 0.5rem;
		background: #fff;
		box-shadow: rgba(176, 176, 176, 0.2) 0rem 0.1rem 0.5rem;
	}

	.page-nav + .page-nav {
		margin: 0.25rem 0;
	}

	.uni-switch {
		transform:scale(0.8)
	}
	/* #endif */
	.example-info {
		font-size: 14px;
		color: #525252;
		padding: 10px;
	}
</style>
